package com.bot.adms.model.entity;

import com.bot.adms.model.bo.AdSpScDetailBo;

/**
 * 广告分屏明细实体类
 */
public class AdSpScDetail {
    public AdSpScDetail(AdSpScDetailBo adSpScDetailBo) {
        this.id = adSpScDetailBo.getId();
        this.type = adSpScDetailBo.getType();
        this.scId = adSpScDetailBo.getScId();
        this.adId = adSpScDetailBo.getAdInfoBo().getId();
    }

    public AdSpScDetail() {
    }

    /**
     * 广告分屏明细id
     */
    private Long id;
    /**
     * 类型（0：文字、1：海报、2：视频）
     */
    private Integer type;
    /**
     * 分屏号（0：一号屏、1：二号屏、2：三号屏）
     */
    private Integer scId;
    /**
     * 广告id
     */
    private Long adId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getScId() {
        return scId;
    }

    public void setScId(Integer scId) {
        this.scId = scId;
    }

    public Long getAdId() {
        return adId;
    }

    public void setAdId(Long adId) {
        this.adId = adId;
    }
}
